<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@page import="com.lavegue.model.Area" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
  <head>
    <base href="<%=basePath%>" />
    
    <title>用户基本信息</title>
    
	<meta http-equiv="cache-control" content="no-cache">
	<script type="text/javascript" src="<s:url value="/js/jquery-1.4.2.min.js"/>"></script>
 	<script type='text/javascript' src='js/jquery.validate.min.js'></script>
 	<script type='text/javascript' src='js/common.js'></script>
	<link href="images/css.css"  rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
.STYLE13 {color: #A3A3A3}

-->
</style>

<script type="text/javascript">

function toEnterUserModPage(){
	window.location.href='userRegister!toEnterModUserPage.action';
}
</script>

  </head>
  
  <body >
  <form action="" name="showInfoFrm" method="post">
    	<table width="772" height="500" border="0" cellpadding="0" cellspacing="0" bgcolor="#F1F1F1">
  <tr>
    <td width="789" height="39" align="left" valign="middle"><span class="STYLE1">&nbsp;<a href="javascript:void(parent.window.location.href='loginAction!login.action')" class="STYLE1">我的易彩通</a> &gt; 我的账号 &gt; 我的名片</span></td>
  </tr>
  <tr>
    <td height="500" align="center" valign="top" bgcolor="#FFFFFF" style="border:1px solid #C5C5C5; padding:1px ;">
    <table width="100%" height="32" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="1%" height="32" background="images/sp_bg.jpg">&nbsp;</td>
        <td width="3%" align="center" background="images/sp_bg.jpg" style="border-bottom:1px solid #C5C5C5;">
        <img src="images/dian.jpg" width="10" height="16" /></td>
        <td width="95%" align="left" background="images/sp_bg.jpg" style="border-bottom:1px solid #C5C5C5;">
        <span class="STYLE3">基本信息</span>
        </td>
        <td width="1%" background="images/sp_bg.jpg">&nbsp;</td>
      </tr>
    </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="8">&nbsp;</td>
        </tr>
      </table>
      
      <table width="775" height="436" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="325" height="38" align="center">&nbsp;</td>
          <td width="450" align="left" valign="top">&nbsp;</td>
        </tr>
        <tr>
          <td height="307" align="center" valign="top">
          <%-- 20120201修改 
          <img src="images/jblz.jpg" width="242" height="202"> --%>
          <%-- 如果session中用户对象有数据就显示对象中的图片路径，不存在就显示默认图片 --%>
		   <s:if test="#session.userObject.personalIco != null && #session.userObject.personalIco !=''">
		          <img src='<s:property value="#session.userObject.personalIco"/>' width="224" height="195" />
		   </s:if>
		   <s:else>
		   		 <img src='images/default_pic.gif' width="224" height="195" />
		   </s:else> 
          </td>
          <td width="450" align="left" valign="top">
          <table width="440" height="356" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td width="90" align="right">姓名：</td>
              <td width="355"><s:property value="#session.userObject.userName"/></td>
            </tr>
            <tr>
              <td align="right">所在地区：</td>
              <td>
	              <s:property value="sfName"/>
	              <s:if test="csName != null && csName != ''">
	              		&nbsp;&nbsp;&nbsp;<s:property value="csName"/>
	              </s:if>
	              <s:if test="quName != null && quName != ''">
	              &nbsp;&nbsp;&nbsp;<s:property value="quName"/>
	              </s:if>
	              
              </td>
            </tr>
            <tr>
              <td align="right">所在公司：</td>
              <td><s:property value="#session.userObject.company.companyName"/></td>
            </tr>
            <tr>
              <td align="right">手机号码：</td>
              <td><s:property value="#session.userObject.account"/></td>
            </tr>
            <tr>
              <td align="right">电子邮箱：</td>
              <td><s:property value="#session.userObject.email"/></td>
            </tr>
            <tr>
              <td align="right">QQ号码：</td>
              <td><s:property value="#session.userObject.qq"/></td>
            </tr>
            <tr>
              <td align="right">个人主页：</td>
              <td><s:property value="#session.userObject.personalHonepage"/></td>
            </tr>
            <tr>
              <td height="74" align="right" valign="top" style="line-height:23px;">个人介绍：</td>
              <td valign="top"  style="line-height:23px;">
              	<s:property value="#session.userObject.personalIntro"/>
              </td>
            </tr>
            <tr>
              <td height="30" align="right">&nbsp;</td>
              <td valign="top"><img src="images/bj1.jpg" width="92" onclick="javascript:toEnterUserModPage();" style="cursor:hand" height="24" />
              </td>
             </tr></table>
          </td>
        </tr>
      </table></td>
  </tr>
</table>
</form>
  </body>
</html>
